package s02;

/**
 * @ClassName MyRunnable
 * @Description TODO
 * @Author Li
 * @Date 2022/8/8 9:51
 * @ModifyDate 2022/8/8 9:51
 * @Version 1.0
 */
public class MyRunnable implements Runnable {
    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println(Thread.currentThread().getName() + " -> " + i);
        }
    }
}
